\documentclass{article}
% Compile using pdflatex to get an error
\usepackage[dvips]{hyperref}

\begin{document}

Hi

\end{document}
